
import { createRequest } from '@/request';

// 国际化
export const userLanguage = data => {
	return createRequest({
		url: `/user/language?language=${data.language}`,
		method: 'post',
		data
	})
}

// 国际化
export const i18nMessageJson = locale => {
	return createRequest({
		url: `/open/i18n/message/json?locale=${locale}`,
		method: 'get',
	})
}

